import Vue from 'vue';
import Vuex from 'vuex';
import app from './modules/app';
import user from './modules/user';
import tagsView from './modules/tagsView';
import upgradeDevice from './modules/upgradeDevice';
import productListCanEdit from './modules/productListCanEdit';
import deviceCastObject from './modules/deviceCast';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    app,
    user,
    tagsView,
    upgradeDevice,
    productListCanEdit,
    deviceCastObject
  }
});
